Skip to main content

standaloneSaved

Type

message

Summary

Sent to the mainstack after it has been saved as a standalone application.

Syntax

standaloneSaved <pFolderSavedIn>

Description

After a stack has been saved as a standalone application it is reopened. This mesage is then sent to the mainstack to allow custom build time automation.

Parameters

NameTypeDescription

pFolderSavedIn

A string variable containing the folder that the standalone application was saved in.

Examples

on standaloneSaved pFolder
get shell("hdiutil create -fs HFS+ -volname MyApp"&\
" -size 100m ~/Desktop/MyApp.dmg")
get shell("hdiutil mount ~/Desktop/MyApp.dmg")
get shell("ditto -rsrc -V "&pFolder&" /Volumes/MyApp"&\
" &gt;&gt; /Volumes/Backup/MyApp.log")
get shell("hdiutil unmount /Volumes/MyApp")
get shell("hdiutil burn ~/Desktop/MyApp.dmg"& \
" -noverifyburn -noeject")
end standaloneSaved

message: savingStandalone

Compatibility and Support

Introduced

LiveCode 2.2

OS

mac

windows

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?